CXX = g++
CXXFLAGS = -std=c++11 -O2

all: test_disk_fault test_network_fault test_resource_stress

test_disk_fault: test_disk_fault.cpp ../logs/bitlog.h 
	$(CXX) $(CXXFLAGS) -o test_disk_fault test_disk_fault.cpp

test_network_fault: test_network_fault.cpp ../logs/bitlog.h 
	$(CXX) $(CXXFLAGS) -o test_network_fault test_network_fault.cpp

test_resource_stress: test_resource_stress.cpp ../logs/bitlog.h
	$(CXX) $(CXXFLAGS) -o test_resource_stress test_resource_stress.cpp

test_write_read: test_write_read.cpp ../logs/bitlog.h
	$(CXX) $(CXXFLAGS) -o test_write_read test_write_read.cpp

clean:
	rm -f test_disk_fault test_network_fault test_resource_stress test_write_read
